package java67_adv3;

import java.util.*;

public class LinkListTest {

	public static void main(String[] args) {
		// LinkedList addFirst,addLast
		List list = new LinkedList();
		list.add("Dog");
		list.add("cow");
		list.add("cat");
		list.add(0, "mouse");
		// list.addFirst("mouse");// 独有的,接口中没有,用不了
		System.out.println(list);
		Object[] ar = list.toArray();
		// ......
	}

}
